package com.tt.fashionWebSite.domain;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Created by isoft-work 5 on 12/25/2014.
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "thong_tin_tu_van")
@NamedQueries({
      @NamedQuery(name = "getInfoSuppose", query = "SELECT t FROM ThongTinTuVan t WHERE t.loai = 0") ,
})
public class ThongTinTuVan implements Serializable {
   public static final String GET_INFO_SUPPOSE = "getInfoSuppose";
   @Id
   @Column(name = "MA_TT")
   private String maTT;

   @Column(name = "TEN_THONG_TIN")
   private String tenThongTin;

   @Column(name = "LOAI")
   private Long loai;

   public String getMaTT() {
      return maTT;
   }

   public void setMaTT(String maTT) {
      this.maTT = maTT;
   }

   public String getTenThongTin() {
      return tenThongTin;
   }

   public void setTenThongTin(String tenThongTin) {
      this.tenThongTin = tenThongTin;
   }

   public Long getLoai() {
      return loai;
   }

   public void setLoai(Long loai) {
      this.loai = loai;
   }
}
